import { piniaSymbol } from "./piniaSymbol";
export function createPinia() {
  const pinia = {
    _stores: new Map(),
    state: {},
    install(app) {
      app.provide(piniaSymbol, pinia);
      app.config.globalProperties.$pinia = pinia;
      console.log("正常运行");
    },
  };
  return pinia;
}
